package de.tabuma.soap.entity.soap;

import java.io.*;
import javax.jdo.annotations.*;

import de.tabuma.soap.annotation.*;

/**
 * This class represents an element of an wsdl document called &quot;body&quot;.
 * @author $Author: alefen $
 * @version $Revision: 1.1 $
 * @since $Date: 2009/12/30 02:57:12 $
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
@SoapClassDefinition(@SoapClassMapping(mappingString="body",mappingType=SoapClassMapping.MappingType.SOAP))
public class SBody implements Serializable {

    public SBody() {
        this.sBodyAttributesId = new Long(0);
    }

    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;
    public Long getId() {
        return id;
    }

    @Persistent
    @SoapExtendsDefinition(extendsClass=SBodyAttributes.class)
    private Long sBodyAttributesId;
    public Long getSBodyAttributesId() {
        return sBodyAttributesId;
    }
    public void setSBodyAttributesId(Long sBodyAttributesId) {
        this.sBodyAttributesId = sBodyAttributesId;
    }

    @Persistent
    @SoapAttribute
    private String parts;
    public String getParts() {
        return parts;
    }
    public void setParts(String parts) {
        this.parts = parts;
    }
}
